import request from "../utils/request.js";

// request("/login","get",{userName:"ll",password:"123456"})

//登录
export function login(params){
	return request("/api/webapi/login","POST",params)
}

//注册
export function registration(params){
	return request("/api/webapi/reguser","POST",params)
}

//修改密码
export function updatedPassword(params){
	return request("/webapi/updatepwd","POST",params)
}

//修改个人信息
export function updateUser(params){
	return request("/webapi/updateUserinfo","POST",params)
}

//用户提交申请
export function apply(params){
	return request("/applyAdd","POST",params)
}

//用户提交申请的状态
export function applyState(id){
	return request(`/adminapi/ApplyByUserId/${id}`,"get")
}





